<template functional>
  <div v-if="loading" class="loading-detail">
    <i class="el-icon-loading" />数据加载中...
  </div>
</template>
<style lang="scss" scoped>
.loading-detail {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  .el-icon-loading {
    display: block;
    font-size: 24px;
  }
}
</style>
